package com.example.demo.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.domain.base.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品规格项定义表
 *
 * @author haochen78
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("product_spec_option")
public class ProductSpecOptionDO extends BaseDO {

    /** 规格项名称(如: 尺码, 颜色) */
    private String name;

    /** 规格项描述 */
    private String description;

    /** 排序权重 */
    private Integer sortOrder;

    /** 是否为必填项(0-否, 1-是) */
    private Integer isRequired;

    /** 关联商品分类ID */
    private Long productCategoryId;
}